@import "./mixins/reset";
@import "./mixins/public";

#enter{
  position: absolute;
  top:0;left:0;
  width: 100%;
  height:100%;
  padding:70px;
  text-align:center;
  #login{
    position: absolute;
    top:45%; left:50%;
    width: 400px;
    height:400px;
    margin-left:-200px;
    margin-top:-200px;
  }
  .signBtn{
    width: 120px;
    height: 34px;
    position: relative;
    line-height:34px;
    margin:30px;
    font-size:16px;
    border-radius:3px;
    background:#25a56b;
    overflow: hidden;
    color:#fff;
    &::before{
      content:'';
      position:absolute;
      top:50%; left:50%;
      width:1px; height:1px;
      background:#22905e;
      transition-duration:.2s;
      transition-timing-function:linear;
      border-radius:50%;
    }
    &:hover{
      &::before{
        transform: scale(140,140);
      }
    }
    .text{
      position:absolute;
      top:0; left:0;
      width:100%;
      z-index:1;
    }
  }
}

@keyframes rotate {
  0%{transform:rotateZ(0deg);}
  100%{transform:rotateZ(360deg);}
}

.cdplayer{
  width:300px;
  height:300px;
  margin:20px auto 0;
  border:70px solid rgb(35, 33, 33);
  box-shadow:0 0 0 7px rgba(203,203,203,1);
  border-radius:50%;
  position:relative;
  &::before, &::after{
    content:'';
    position: absolute;
    border:2px solid rgba(0,0,0,.15);
    border-radius:50%;
  }
  &::before{
    top:-27px; right:-27px;
    bottom:-27px;left:-27px;
  }
  &::after{
    top:-50px; right:-50px;
    bottom:-50px;left:-50px;
  }
}

#loginBox{
  width: 160px;
  height:160px;
  position:relative;
  perspective:400px;
  perspective-origin:right;
  box-shadow:0 0 0 4px rgba(0,0,0,.8);
  background: rgba(176, 36, 32, 1);
  border-radius:50%;
  cursor: pointer;
  z-index:2;
  .ui, .enginer{
    height:160px;
    overflow: hidden;
    border-radius:50%;
    transition-timing-function:ease-in;
    //animation:rotate 10s linear infinite;
    position:absolute;
    top:0; left:0;
    //&.paused{animation-play-state:paused;}
    &::before{
      content:'';
      position:absolute;
      top:50%; left:50%;
      border-radius:50%;
      z-index:2;
      width: 10px;
      height:10px;
      margin-left:-5px;
      margin-top: -5px;
      background: rgba(255, 255, 255, .6);
      box-shadow:0 0 0 2px rgba(0,0,0,.5);
    }
    img{
      display:block;
      width: 100%;
    }
  }
  .enginer{
    position:absolute;
    top:0; left:0;
    transform:rotateY(90deg);
  }
}

#wrapper{
  min-height: 900px;
  padding-bottom: 120px;
  transition-duration: .1s;
  filter: blur(5px);
  &.loaded{filter: blur(0);}
}

//header
#header{
  height:61px;
}

//footer
#footer{
  position:absolute;
  left:0;right:0;bottom:0;
  color: #fff;
  padding:40px;
  line-height:24px;
  text-align:center;
  background:#727f80;
}

//404
#notfound{
  width: 200px;
  height:400px;
  margin:100px auto;
  text-align:center;
  .icon{font-size:200px;}
  .missing{color:#666;}
}

//modules
.empty{text-align: center;
  padding-top:140px;
  img{width:270px;}
  a{text-decoration:underline;}
}

.activity_id{
  padding:20px 40px;
  input{
    width: 100px;
    padding:4px 5px;
    height: 24px;
    line-height:24px;
    margin-left:5px;
    margin-right:10px;
    border:1px solid #b3b3b3;
    border-radius:3px;
  }
  .preview{
    height: 24px;
    line-height:24px;
    width:50px;
    text-align:center;
  }
}

#modules{
  padding:0 40px;
  .ms{padding:0 30px;
    border-bottom:1px solid #e0e0e0;
    &>li{@extend .vertop;
      position:relative;
      width: 150px;
      cursor: pointer;
      border:1px solid transparent;
      margin-bottom:-1px;
      margin-left:-1px;
      transition:background .2s;
      &:hover{
        color:#23B774;
        border-color:#ddd;
        border-bottom-color:#ddd;
      }
      &.on{
        color:#23B774;
        border-color:#ddd;
        border-bottom-color:#fff;
      }
    }
    .ms_desc{
      line-height:32px;
      text-align: center;
      font-size: 16px;
    }
  }
}
#ms_add{
  height:34px;
  color:#555;
  border-color:#ddd;
  background:#e2e2e2;
  &:hover{
    .ms_show{background:#f7f7f7;}
    .ms_select{display: block;}
  }
  .ms_show{
    display:block;
    width:100%;
    height:32px;
    line-height:32px;
    background:#eee;
    transition:background .2s;
  }
  .ms_select{
    position: absolute;
    top:32px; left:-1px;
    width: 150px;
    background:#fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius:3px;
    border-bottom-right-radius:3px;
    text-align:center;
    button{
      min-width:60px;
      height:24px;
      line-height:24px;
      margin:5px 0;
      border-radius:3px;
      font-size:12px;
    }
    .ms_save{color:#fff;
      margin-right:3px;
      background:#23B774;
      &:hover{background:#23ad6e;}
    }
    .ms_drop{
      margin-left:3px;
      background:#e2e2e2;
      &:hover{background:#ddd;}
    }
  }
  .ms_select_ul{
    text-align:left;
    .option{
      color:#555;
      padding:0 15px;
      line-height:24px;
      white-space: nowrap;
      &:hover{background:#efefef;}
      &.on{
        .checkbox::before{background:#23B774;}
      }
    }
    .checkbox{
      @extend .vertop;
      margin-top:6px;
      margin-right:5px;
      width:11px;
      height:11px;
      border-radius:50%;
      border:1px solid #333;
      &::before{
        content:'';
        display: block;
        margin:2px auto 0;
        width:5px;
        height:5px;
        border-radius:50%;
      }
    }
  }
}

.goodslist{
  background:#f1c319;
  padding-top:20px;
  width:1000px;
  margin:0 auto 20px;
  box-sizing:content-box;
  *{box-sizing:content-box;}
}
#desk{
  .common_h2{
    margin:40px 0 20px;
    padding:10px 20px;
    font-size: 20px;
    background:#eee;
  }
  .ms_preview{
    background:#d1d0d4;
    margin-top:30px;
    overflow:hidden;
    .common_h2{
      text-align:center;
      margin:0 0 20px 0;
      padding:10px 40px;
    }
  }
  .ms_edit{
    display:none;
    &.on{display:block;}
  }
  .floors{
    width: 1200px;
    margin:0 auto 20px;
    background:#fff;
    padding:20px;
  }
  .edit_box{
    width: 900px;
    margin:0 auto;
    .saveBtn{
      display: block;
      margin:10px auto 20px;
      width: 100px;
      height: 30px;
      line-height:30px;
      text-align:center;
      border-radius:4px;
      background:#23B774;
      cursor: pointer;
      color:#fff;
    }
  }
  .tab_nav{
    font-size:0;
    line-height:24px;
    text-align:center;
    .tab_n{
      width:50%;
      color:#333;
      font-size:14px;
      cursor: pointer;
      background: #e4e4e4;
      &.on{background:#B3B3B3;}
    }
  }
  .tab_panel{
    padding:10px;
    .dl{
      margin-bottom:10px;
      line-height:33px;
    }
    .dt{
      min-width:100px;
      margin-right:10px;
    }
    .radio{min-width:60px;}
    .ms_input{
      font-size:12px;
      color:#555;
    }
    .ms_field{
      margin-right:10px;
      @extend .vertop;
    }
    .goods_number{
      width: 100px;
      padding:4px 5px;
      height: 24px;
      line-height:24px;
      margin:0 15px 15px 0;
      border:1px solid #b3b3b3;
      border-radius:3px;
    }
    .datatable{line-height:20px;
      input[type='text']{
        width:110px;
        display: block;
        height:20px;
      }
    }
    .datatabletip{margin-top:20px;}
  }
  .editorBox{
    .additional{
      margin-top:-10px;
      margin-bottom:10px;
    }
    .template, .style{
      width: 100%;
      height:200px;
      padding:10px;
      background:#fff;
      border:1px solid #ccc;
    }
    .template{margin-bottom:10px;}
  }
}

#ms_shop_color, #ms_discount_color, #ms_tocart_color{
  @extend .vertop;
  margin-left:20px;
}

.paging{
  padding:10px;
  text-align: right;
  line-height:22px;
  span, a{@extend .vertop;
    margin-right:5px;
    min-width:26px;
    padding-left:5px;
    padding-right:5px;
    text-align:center;
    text-decoration:none;
    border-radius:2px;
    &:hover{color:#fff;
      background: #25a56b;
    }
  }
  .current{
    color:#fff;
    background: #25a56b;
  }
}





